package com.authine.cloudpivot.app.openapi.controller;

import com.alibaba.cola.dto.SingleResponse;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lifuchun
 */
@RestController
public class HealthController {


    @ApiOperation("健康检查接口")
    @GetMapping("/echo")
    public SingleResponse echo() {
        return SingleResponse.of("app-openapi");
    }


}